<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="inc/CheckLogin.jsp" %>
<%@taglib uri="/struts-tags" prefix="s"  %>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
<title>自定义标签管理</title>
<link type="text/css" rel="stylesheet" href="images/style.Css">
</head>
<body>
  <form action="LableAction!findLists.do" method="post" name="frmData">
	<table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#E1E1E1" class="css_table">
	  <tbody><tr class="css_menu">
	    <td colspan="4"><table width="100%" cellspacing="0" cellpadding="4" border="0" class="css_main_table">
	    
	          <tbody><tr>
	            <td class="css_main"><a href="LableAction!findLists.do">自定义标签管理</a> <a href="Admin_Lable_add.jsp">添加自定义标签</a></td>
	            <td class="css_search"><select id="DFieldKey" name="DFieldKey">
	           <option selected="selected" value="Name">标签代码</option>
	              </select>
	              <input type="text" value="" size="10" id="lName" name="lName">
	              <input type="submit" value="搜" name="Submit">
	            </td>
	          </tr>
	        
	      </tbody></table></td>
	  </tr>
	  <tr>
	    <td class="css_top">编号</td>
	    <td class="css_top">标签代码</td>
	    <td class="css_top">标签说明</td>
	    <td class="css_top">管理</td>
	  </tr>
	  <s:iterator value="page.data" var="l" status="i">
	  <tr>
	    <td class="css_list">
	    <s:property value="#i.index+1" />
	    </td>
	    <td class="css_list">
	    <s:property value="#l.lname" />
	    </td>
	    <td class="css_list">
	      <s:property value="#l.linfo" />
	    </td>
	    <td class="css_list">
	    <input type="button" value="修改" onclick="location.href='LableAction!get.do?lid=<s:property value="#l.lid "/>';" name="modify">
	    <input type="button" value="删除" onclick="if(confirm('您确定要删除这条记录吗?')){location.href='LableAction!del.do?lid=<s:property value="#l.lid "/>';}" name="delete">
        </td>
	  </tr>
	  </s:iterator>
	  
	  <tr class="css_page_list">
	    <td colspan="4">
	    
	                                  <s:hidden name=""></s:hidden>
 <font color="red">
            <s:property
														value="page.totalCount" /> </font> </b>条记录- 分
											<b><font color="red"><s:property
														value="page.totalPage" /> </font> </b>页 - 这是第
											<b><font color="red"><s:property
														value="page.curPage" /> </font> </b>页&nbsp; | &nbsp;
											<a onClick="first()" href="#">首页</a>&nbsp;
											<a onClick="prev()" href="#">前一页</a>&nbsp;
											<a onClick="next()" href="#">后一页</a>&nbsp;
											<a onClick="last()" href="#">末页</a>&nbsp; | &nbsp; 到第
											<input id="page.curPage" name="page.curPage" type="text"
												size="4" maxlength="4" style='width: 30px; height: 18px;'
												value="<s:property value="page.curPage"/>"
												onKeyUp="onlyNum();">
											<input type="submit" value="跳转" class=mmBtn />
											<input type="hidden" name="page.pageSize"
												value="<s:property value="page.pageSize"/>" />
											<input type="hidden" name="totalPage"
												value="<s:property value="page.totalPage"/>" />
	    
	    </td>
	  </tr>
</tbody></table>
	</form>
	<script type="text/javascript" src="<%=basePath %>js/list.js"></script>
</body></html>